/**
 * Created by ryansecreat on 2017/12/25.
 */
const mm = require('egg-mock');
app = mm.app();

let test=async()=>{
    await app.ready();
    let ctx=app.mockContext();
    let name= ctx.service.user.getName();
    ctx.logger.info(name);
}
test();